<%@ page language="java" contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
	<head>
		<title>物资种类编辑页面</title>
		<%@ include file="../../common/jsp/header.jsp"%>
		<link href="${path }/static/css/plugins/file-input/fileinput.min.css" rel="stylesheet">
        <link href="<%=path%>static/css/plugins/ztree/zTreeStyle/zTreeStyle.css" rel="stylesheet">
        <script type="text/javascript" src="<%=path%>/static/js/plugins/ztree/jquery.ztree.core-3.5.js"></script>
        



	</head>
	<body>
		<div class="wrapper wrapper-content animated fadeInRight">
			<div>
				<div class="col-sm-4"><input type="button" value="返回上一页" class="btn btn-success" onclick="javascript:history.back();"/></div>
			</div>
			<div class="ibox float-e-margins">
				<form action="${path}/type/update.do" method="post" class="form-horizontal" role="form">
                    <input type="hidden" name="typePid" id="typePid" value="${entity.typePid}"/>
                    <input type="hidden" name="gamTypeId" id="gamTypeId" value="${entity.gamTypeId}"/>
                    <fieldset>
                        <legend>物资基本信息</legend>



                       <div class="form-group">
                          <label class="col-sm-2 control-label" for="ds_host">分类编号</label>
                          <div class="col-sm-2">
                             <input class="form-control" type="text" name="typeNumber" value="${entity.typeNumber}"/>
                          </div>
                       </div>
                       <div class="form-group">
                          <label class="col-sm-2 control-label" for="ds_username">分类名称</label>
                          <div class="col-sm-2">
                             <input class="form-control" type="text"  name="typeName" value="${entity.typeName}"/>
                          </div>
                       </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label" for="ds_username">分类简称</label>
                            <div class="col-sm-2">
                                <input class="form-control" type="text"  name="typeShortHand" value="${entity.typeShortHand}"/>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label" for="ds_username">展开节点</label>
                                <div class="col-sm-4">
                                    <input  type="radio"  name="typeState" value="0" ${entity.typeState==0 ? "checked" : null}/>关闭1
                                    <input type="radio"  name="typeState" value="1" ${entity.typeState==1 ? "checked" : null}/>打开
                                </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label" for="ds_username">节点顺序</label>
                            <div class="col-sm-2">
                                <input class="form-control" type="text"  name="typeOrder" value="${entity.typeOrder}"/>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label" for="ds_username">节点等级</label>
                            <div class="col-sm-2">
                                <input class="form-control" type="text"  name="typeLevel" value="${entity.typeLevel}"/>
                            </div>
                        </div>
                    </fieldset>
                    <fieldset>
                        <div class="form-group">
                        	<label class="col-sm-2 control-label" for="ds_host"></label>
                           	<div class="col-sm-4">
                              	<input type="submit" value="提交" class="btn btn-primary"/>
                                <input type="reset" value="重置" class="btn btn-danger" id="resetForm"/>
                           	</div>
                        </div>
                    </fieldset>
                </form>
			</div>
		</div>
	</body>
	<script type="text/javascript" src="${path}/static/js/plugins/file-input/fileinput.min.js"></script>

</html>